Linux Networking Commands

Just like Windows, iOS, and Mac OS, Linux is an operating system. In fact, one of the most popular platforms on the planet, Android, is powered by the Linux operating system. An operating system is software that manages all of the hardware resources associated with your desktop or laptop. To put it simply, the operating system manages the communication between your software and your hardware. Without the operating system (OS), the software wouldn’t function.

Command Description
ipconfig It is interface configuration and is use to initialize an interface.Configure it with ip address an d enable or disable it.It is also used to display the route and the network interface.
ip It is the latest and the updated version of ipconfig command.
traceroute It is used to troubleshoot the network.It detects the delay and determine pathway to target.
tracepath It is similar to traceroute.It doesnot require route privilages
ping It check for network connectivity between two nodes.It sends icmpecho request to check network connectivity.
netstat It is network statics which provides statistical figures about different interfaces which includes open socket,routing tables and connection information.
ss It is replacement for netstat.It is must faster and more informative command than netstat.It is fast and it fetches all information from within the kernal userspace
dig It is domain information gropher. This is used in DNS lookup to query DNS server.It is also used to troubleshoot DNS related issues.
nslookup It is older version of dig.
route It display and manipulates the routing table existing for your system.Routers are basically used to find the best way to send packets accross the destination.
host Display Domain name for given ip address for a given host name.It also used to fetch DNS lookup query.
arp It is address resolution protocol. Uses to view and add contemt to kernels ARP Table.
iwconfig USed to configure the wireless network interface It is used set and view the basic wifi details like ssid and encryption.
hostname View and set the host name of the system.
curel and wget Used in downloading files from the internet through CLI.Curl command has to be used with an option '0' to fetch file.
mtr It is a combination of ping and traceroute command.It display information regarding packets sent with the ping time of each hop.It is also used to view the network issue.
whois It is used to fetch all information related to website.You can get all information about the website including the registration and owner information.
ifplugstatus It is used to check it the cables is plugged into a network interface or not.
iftop It is used in traffic monitoring.
ssh enables you to connect securing with remote hosts over internet.
>